import { default as request, cloud } from '@/framework/utils/request'


/**
 * 分页查询禁言信息所有数据
 */
export function getAuditPage(params) {
  return request({
    url: `${cloud.onlineClass}/shutupInfo/page`,
    method: 'get',
    params
  })
}


/**
 * 删除禁言信息数据
 */
export function deleteGag(id) {
  return request({
    url: `${cloud.onlineClass}/shutupInfo/delete`,
    method: 'post',
    data: {
      ids: [id]
    }
  })
}


